package com.bzkj.basicinfo.service.ncc;

import com.bzkj.basicinfo.domain.ncc.dto.NccBasicMaterialstockDto;
import com.bzkj.basicinfo.domain.ncc.NccBasicMaterialstock;
import com.bzkj.common.core.domain.AjaxResult;
import com.bzkj.common.core.domain.R;

import java.util.List;

/**
 * @author wangzhichao
 * @description 针对表【ncc_basic_materialstock(ncc物料库存信息)】的数据库操作Service
 * @createDate 2024-12-11 14:51:20
 */
public interface NccBasicMaterialstockService
{
    /**
     * 条件查询物料库存信息
     * @Author wangzhichao
     * @Date 2024/12/11 15:08:54
     * @Param dto
     */
    List<NccBasicMaterialstock> findNccBasicMaterialstockData(NccBasicMaterialstockDto dto);

    /**
     * 根据pkmaterialstock修改ncc物料库存仓库信息
     * @Author wangzhichao
     * @Date 2024/12/11 15:19:36
     * @Param entity
     */
    AjaxResult nccBasicMaterialstockUpdate(NccBasicMaterialstock entity);

    /**
     * 新增ncc物料库存信息
     * @Author wangzhichao
     * @Date 2024/12/11 15:32:14
     * @Param entity
     */
    AjaxResult nccBaiscMaterialstockSave(NccBasicMaterialstock entity);

    /**
     * 定时更新物料库存信息
     * @return R 操作结果
     */
    R jobMethodExecute(Boolean flag);
}
